//////////////////////////////////////////////
// ClickEventData.h
//
//////////////////////////////////////////////

/// Defines / Macros -------------------------

#pragma once

/// Includes ---------------------------------

// nkWinUi
#include "InputCodes.h"

// nkMaths
#include <NilkinsMaths/Geometry/Point.h>

/// Class ------------------------------------

namespace nkWinUi
{
	struct ClickEventData final
	{
		// Position within the component (relative)
		nkMaths::Point _mouseRel ;

		// Active button
		MOUSE_BUTTON _button = MOUSE_BUTTON::MOUSE_LEFT ;

		// Pressed, or released
		bool _pressed = true ;
	} ;
}